#!/usr/bin/env Rscript --vanilla

pkg = basename(getwd())
setwd("html")
try ({
  library(knitr)
  library(BBmisc)
  options(BBmisc.ProgressBar.style = "off")
  library(BatchJobs)
  library(BatchExperiments)
  conf = BatchJobs:::getBatchJobsConf()
  conf$cluster.functions = makeClusterFunctionsLocal()
  knit_rd(pkg)
})
setwd("..")

